package cc.catface.commom.java;

import java.util.Random;

/**
 * Created by catfaceWYH --> tel|wechat|qq 130 128 92925
 */
public class TOther {

    /**
     * 生成一个随机大写字母
     *
     * @return
     */
    public static char getSingleRandomLowerChar() {
        return (char) (new Random().nextInt(26) % 26 + 65);
    }

    /**
     * 生成一个随机小写字母
     *
     * @return
     */
    public static char getSingleRandomUpperChar() {
        return (char) (new Random().nextInt(26) % 26 + 65 + 32);
    }
}
